package com.j283_5.wisdom_park.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class VisIo {
    /**
     * 主键
     */
    private Integer visIoId;
    /**
     * 访客id
     */
    private Integer visId;


    /**
     * 进入时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm")
    private Timestamp visInsertTime;
    /**
     * 离开时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm")
    private Timestamp visLeaveTime;
}
